#import logging
import logging.config


LOG_CONF = "../config/logger.conf"
LOGGER_DEFULT = "default"


def log_init(): 
    try:
        logging.config.fileConfig(LOG_CONF)
    except Exception:
        print("Can not initial log by conf file[%s], system exit!" % LOG_CONF)
        raise

log_init()
LOG = logging.getLogger(LOGGER_DEFULT)
